﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GoodReads.API.Data
{
    public class BestBook
    {
        public int ID { get; set; }
        public string Title { get; set; }
        public string ImageURL { get; set; }
        public string SmallImageURL { get; set; }
        public IEnumerable<Author> Authors { get; set; }
    }
    public class Book : BestBook, IUpdateObject
    {
        public int ISBN { get; set; }
        public int ISBN13 { get; set; }
        public int ASIN { get; set; }
        public DateTime PublicationDate { get; set; }
        public string Publisher { get; set; }
        public string LanguageCode { get; set; }
        public bool IsEbook { get; set; }
        public string Description { get; set; }
        public Work Work { get; set; }
        public double AverageRating { get; set; }
        public int NumPages { get; set; }
        public string Format { get; set; }
        public string EditionInformation { get; set; }
        public int RatingsCount { get; set; }
        public int ReviewsCount { get; set; }
        public string URL { get; set; }
        public string Link { get; set; }
        public IEnumerable<Shelf> PopularShelves { get; set; }
        public IEnumerable<BookLink> BookLinks { get; set; }
        public IEnumerable<SeriesWork> SeriesWorks { get; set; }
        public IEnumerable<Book> SimilarBooks { get; set; }
    }
}
